package com.zoo.diannaopeijian.service;

import com.zoo.diannaopeijian.common.page.Page;
import com.zoo.diannaopeijian.domain.ShipmentTarget;

import java.util.List;

/**
 * 出货对象服务
 */
public interface ShipmentTargetService {
    /**
     * 新增出货对象
     * @param shipmentTarget
     * @return
     */
    boolean addShipmentTarget(ShipmentTarget shipmentTarget);

    /**
     * 删除出货对象
     * @param shipmentTargetId
     * @return
     */
    boolean deleteShipmentTargetById(Integer shipmentTargetId);

    /**
     * 更新出货对象
     * @param shipmentTarget
     * @return
     */
    boolean updateShipmentTarget(ShipmentTarget shipmentTarget);

    /**
     * 获取所有出货对象
     * @param page
     * @return
     */
    List<ShipmentTarget> getAllShipmentTarget(Page page);
}
